﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataBase.Daihoctuonglai;

namespace Dhtl.Service.IService
{
    public interface IUserInRoles
    {
        List<UserInRole> List();
        UserInRole GetById(int id);
        void AddOrUpdate(UserInRole entity);
        void delete(int id);
        bool checkExitsRolesiD(int userId, int RoledID);
        void removeRolesInUsser(int userId, int RoledID);
    }
}
